package com.itzhoun.config;

import org.apache.http.HttpHost;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 周楠
 * @Date 2022/07/06/下午 8:46
 */
@Configuration
public class ESConfig {

//    @Bean
//    public RestHighLevelClient restHighLevelClient(){
//        return new RestHighLevelClient(
//                RestClient.builder(
//                        new HttpHost("47.104.16.133", 9200, "http")));
//    }

}
